package com.me.forum.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class PageTypeRequest extends BaseRequest{

    private String name;


    @Override
    public Boolean isLegal() {
        return name != null && !name.isEmpty();
    }


}
